<script setup lang='ts'>
import { countStore } from '@/stores/counter';

       const stores = countStore()
</script>
       
<template>
       <h1>显示当前的全局状态</h1>
       <h2>{{ stores.count }}</h2>
</template>
       
<style scoped>
       
</style>